<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
<link href="css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="css/H-ui.admin.css" rel="stylesheet" type="text/css" />
<link href="lib/icheck/icheck.css" rel="stylesheet" type="text/css" />
<link href="lib/Hui-iconfont/1.0.6/iconfont.css" rel="stylesheet" type="text/css" />
<link href="lib/webuploader/0.1.5/webuploader.css" rel="stylesheet" type="text/css" />
  <link href="css/bootstrap.css" rel="stylesheet">
  <script src="js/jquery.js"></script> 
  <script src="js/bootstrap.js"></script> 
  <link href="http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.2/summernote.css" rel="stylesheet" >
  <script src="js/summernote.js"></script>
<title>发布赛事</title>
</head>
<body>
<div class="pd-20 form form-horizontal">	       
        <div class="row cl">
			<label class="form-label col-2">赛事名：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match.match_name}" readonly>
        	</div>
		</div>

        <div class="row cl">
			<label class="form-label col-2">赛事介绍：</label>

        	<input type="hidden" id="match_introduce" name ="match_introduce" >
			<div class="formControls col-xs-8 col-sm-5">
		 		<div id="summernote" class="input-text" >${u_match.match_introduce}</div>
		 	</div>
		</div> 
        <div class="row cl">
			<label class="form-label col-2">赛事规则介绍：</label>
            <div class="formControls col-2">
            	<textarea class="form-control" name="match_rules" readonly>${u_match.match_rules}</textarea>
        	</div>
		</div>

		
		<div class="row cl">
			<label class="form-label col-2">赛事缩略图：</label>
			<div class="form-label col-2">			
				<img src = "${u_match.thumbnail}" style="width:100px; height:100px"/>
			</div>
		</div>
		
        <div class="row cl">
			<label class="form-label col-2">缩略图H5：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match.thumbnail_h5}" readonly>
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">报名起止时间：</label>
            <div class="formControls col-2">
                <input type="text"  class="input-text" 
                	value="${u_match.pstart_time}" readonly>
        	</div>
		
			<label class="form-label col-2">至：</label>
            <div class="formControls col-2">
                <input type="text"  class="input-text"  
                	value="${u_match.pend_time}" readonly>
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">投票起止时间：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text"
                	value="${u_match.vstart_time}" readonly>
        	</div>
		
			<label class="form-label col-2">至：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text"
                	value="${u_match.vend_time}" readonly>
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">结果公布时间：</label>
            <div class="formControls col-2">
                <input type="text"  class="input-text"
                	value="${u_match.result_time}" readonly>
        	</div>
		</div>

		<div class="row cl"></div>
		<div class="cl pd-5 bg-1 bk-gray"> 		
			<div class="btn btn-default btn-warning title rleft def" style="width:100%">奖项设定</div>			
		 </div>

	<div class="form form-horizontal">
        <div class="row cl">
			<label class="form-label col-2">奖金总额 ：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match.bonus_amount}" readonly>
        	</div>
		</div>
		 <div class="row cl">
			<label class="form-label col-2">平台收费 ：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match.counter_fee}" readonly>
        	平台收取赛事总金额  10  ％
        	</div>
        
		</div> 
		     
        <div class="row cl">
			<label class="form-label col-2">获奖金额：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match.win_amount}" readonly>
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">竞猜金额 ：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match.guess_amount}" readonly>
        	</div>
		</div>
		<div class="row cl">
			<label class="form-label col-2">参赛名额 ：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match.join_count}" readonly>
        	</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-2">奖项设置 ：</label>
				   <div style="width:70%;margin-left: 10px" class="form-label col-2">		 
			<table
				class="table table-border table-bordered table-hover table-bg table-sort" id="charge">
				<thead>
					<tr class="text-c">                        
                        <th style="width:15%">奖项等级</th>                            
							<th style="width:15%">获奖人数</th>                           
							<th style="width:15%">奖金比例</th>                      
							<th style="width:15%">奖金（元）</th>
							<th style="width:25%">其他</th>
					</tr>
				</thead>
				<tbody>
				<c:forEach items="${list_match_prize}" var="prize_info">
					<tr class="text-c">
							<td>
								${prize_info.prize_name}
							</td>
								
							<td>
								${prize_info.winner_count}
							</td>
								
							<td>
								${prize_info.prize_percent}
							</td>
								
							<td >
								${prize_info.prize_money}
							</td>	
							
							<td>
								${prize_info.remark}									
							</td>													
						</tr>
					</c:forEach>		
				</tbody>
			</table>
			</div>
		</div>

      	<div class="row cl">
			<label class="form-label col-2">是否需要佐证视频：</label>
            <div class="formControls col-2">
              	<input type="radio" name="is_need_vedio" value="1" id="is_need_vedio"  <c:if test="${u_match.is_need_vedio==1}">checked</c:if> ><label>是</label>
				<input type="radio" name="is_need_vedio" value="2" id="is_need_vedio"  <c:if test="${u_match.is_need_vedio==2}">checked</c:if> ><label>否</label>
        	</div>
		</div>
  	</div>
</div>

<!-- <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>  -->
<script type="text/javascript" src="lib/layer/2.1/layer.js"></script> 
<script type="text/javascript" src="lib/My97DatePicker/WdatePicker.js"></script> 
<script type="text/javascript" src="lib/icheck/jquery.icheck.min.js"></script> 
<script type="text/javascript" src="lib/Validform/5.3.2/Validform.min.js"></script> 
<script type="text/javascript" src="lib/webuploader/0.1.5/webuploader.min.js"></script> 
<script type="text/javascript" src="lib/ueditor/1.4.3/ueditor.config.js"></script>
<script type="text/javascript" src="lib/ueditor/1.4.3/ueditor.all.min.js"> </script>
<script type="text/javascript" src="lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="js/H-ui.js"></script> 
<script type="text/javascript" src="js/H-ui.admin.js"></script>

<script type="text/javascript">
$(document).ready(function(){
	$('#summernote').summernote({
		height: 150    
	});
});

var web_path = "<%=path%>";
</script>
</body>
</html>

